package exercise2_5;

public class BachelorStudent {
	// Each bachelor student must have a supervisor
	public String supervisor;
	String thesis;
	
	// Assign the bachelor student to a supervisor
	public BachelorStudent(String supervisorName)
	{
		this.supervisor= supervisorName;
	}
	
	// Student should write the thesis under the supervision of their supervisor
	// students can't write thesis alone
	public String writeThesis(String thesisTitle)
	{
		this.thesis=thesisTitle;
		return "Paper "+ thesisTitle +"has been written under the supervision of" +supervisor;
	}
}
